aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-13 18:39:56 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-13 18:39:56 +0200
commit5215c2242dd7b87418a7c10781c2b10b35d86f46 (patch)
tree9164c3963424cc149ddd7e61561470f27f5b817a /tests/cassettes/test_status_post[Content warning-direct].yaml
parent0e00fced99976d74e972a3c9ca5b762697840a33 (diff)
downloadmastodon.py-5215c2242dd7b87418a7c10781c2b10b35d86f46.tar.gz
Fix some things in streaming and admin API for 3.3.0 support
Diffstat (limited to 'tests/cassettes/test_status_post[Content warning-direct].yaml')
-rw-r--r--tests/cassettes/test_status_post[Content warning-direct].yaml38
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/cassettes/test_status_post[Content warning-direct].yaml b/tests/cassettes/test_status_post[Content warning-direct].yaml
index 7d5e7d4..8043890 100644
--- a/tests/cassettes/test_status_post[Content warning-direct].yaml
+++ b/tests/cassettes/test_status_post[Content warning-direct].yaml
@@ -20,18 +20,18 @@ interactions:
20 uri: http://localhost:3000/api/v1/statuses 20 uri: http://localhost:3000/api/v1/statuses
21 response: 21 response:
22 body: 22 body:
23 string: '{"id":"109336907891931288","created_at":"2022-11-13T14:13:34.269Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 23 string: '{"id":"109337448587131675","created_at":"2022-11-13T16:31:04.623Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
24 warning","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336907891931288","url":"http://localhost:3000/@mastodonpy_test/109336907891931288","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py 24 warning","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109337448587131675","url":"http://localhost:3000/@mastodonpy_test/109337448587131675","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
25 test suite","website":null},"account":{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 25 test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
26 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI 26 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI
27 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":9,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' 27 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":9,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
28 headers: 28 headers:
29 Cache-Control: 29 Cache-Control:
30 - no-store 30 - no-store
31 Content-Security-Policy: 31 Content-Security-Policy:
32 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 32 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
33 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 33 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
34 style-src ''self'' http://localhost:3000 ''nonce-IoFHh2YyLJlSoCpgD2fumQ==''; 34 style-src ''self'' http://localhost:3000 ''nonce-e4rU1lc430VzEHh617sVIA=='';
35 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 35 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
36 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 36 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
37 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 37 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -41,7 +41,7 @@ interactions:
41 Content-Type: 41 Content-Type:
42 - application/json; charset=utf-8 42 - application/json; charset=utf-8
43 ETag: 43 ETag:
44 - W/"dc803b8a76f5cd39767c0bf25476153d" 44 - W/"e7a4ce6452611b145b2da4743a15d077"
45 Referrer-Policy: 45 Referrer-Policy:
46 - strict-origin-when-cross-origin 46 - strict-origin-when-cross-origin
47 Transfer-Encoding: 47 Transfer-Encoding:
@@ -59,13 +59,13 @@ interactions:
59 X-RateLimit-Limit: 59 X-RateLimit-Limit:
60 - '300' 60 - '300'
61 X-RateLimit-Remaining: 61 X-RateLimit-Remaining:
62 - '208' 62 - '206'
63 X-RateLimit-Reset: 63 X-RateLimit-Reset:
64 - '2022-11-13T15:00:00.286813Z' 64 - '2022-11-13T18:00:00.642186Z'
65 X-Request-Id: 65 X-Request-Id:
66 - 15e45f3b-e8df-4bb6-ae0f-4cac0fb3c170 66 - 31193698-3712-47b8-a761-52861d3ee3d0
67 X-Runtime: 67 X-Runtime:
68 - '0.028643' 68 - '0.029870'
69 X-XSS-Protection: 69 X-XSS-Protection:
70 - 1; mode=block 70 - 1; mode=block
71 status: 71 status:
@@ -87,21 +87,21 @@ interactions:
87 User-Agent: 87 User-Agent:
88 - tests/v311 88 - tests/v311
89 method: DELETE 89 method: DELETE
90 uri: http://localhost:3000/api/v1/statuses/109336907891931288 90 uri: http://localhost:3000/api/v1/statuses/109337448587131675
91 response: 91 response:
92 body: 92 body:
93 string: '{"id":"109336907891931288","created_at":"2022-11-13T14:13:34.269Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 93 string: '{"id":"109337448587131675","created_at":"2022-11-13T16:31:04.623Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
94 warning","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336907891931288","url":"http://localhost:3000/@mastodonpy_test/109336907891931288","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py 94 warning","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109337448587131675","url":"http://localhost:3000/@mastodonpy_test/109337448587131675","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
95 test suite","website":null},"account":{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 95 test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
96 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI 96 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI
97 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":8,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' 97 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":8,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
98 headers: 98 headers:
99 Cache-Control: 99 Cache-Control:
100 - no-store 100 - no-store
101 Content-Security-Policy: 101 Content-Security-Policy:
102 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 102 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
103 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 103 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
104 style-src ''self'' http://localhost:3000 ''nonce-CaglJQTxPaP0Lf3p6NZSpg==''; 104 style-src ''self'' http://localhost:3000 ''nonce-T23XmR3HZFAPCMrjnE2MBQ=='';
105 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 105 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
106 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 106 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
107 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 107 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -111,7 +111,7 @@ interactions:
111 Content-Type: 111 Content-Type:
112 - application/json; charset=utf-8 112 - application/json; charset=utf-8
113 ETag: 113 ETag:
114 - W/"b3304b5ff27f6c5673ad52a3962d4f30" 114 - W/"cf0c60d803c40b4bd226c9b5a94504bf"
115 Referrer-Policy: 115 Referrer-Policy:
116 - strict-origin-when-cross-origin 116 - strict-origin-when-cross-origin
117 Transfer-Encoding: 117 Transfer-Encoding:
@@ -127,9 +127,9 @@ interactions:
127 X-Permitted-Cross-Domain-Policies: 127 X-Permitted-Cross-Domain-Policies:
128 - none 128 - none
129 X-Request-Id: 129 X-Request-Id:
130 - d14a11d7-4404-4d40-b61a-1b0c4ebf4686 130 - 4efa447c-810d-4899-ac98-119fad532241
131 X-Runtime: 131 X-Runtime:
132 - '0.029792' 132 - '0.023700'
133 X-XSS-Protection: 133 X-XSS-Protection:
134 - 1; mode=block 134 - 1; mode=block
135 status: 135 status:
Powered by cgit v1.2.3 (git 2.41.0)